<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加奖励信息 </title>
</head>
<body>

<table align="center" border="1" width="1024px" >
	<thead>
		<tr >
			<td colspan="6">
				<a href="<%=request.getContextPath() %>/stu/inport">导入学生列表</a> |
				<a href="<%=request.getContextPath() %>/stu/export">导出学生列表</a>|
				<a href="<%=request.getContextPath() %>/stu/list">查询学生信息</a> | 
			</td>
			
		</tr>
	</thead>
	
	<!-- 数据信息 -->
	<tbody>	
	
	<form:form modelAttribute="rewardAndPunish" action="" method="post">
		<tr>
			<td>
				奖励情况 ：
			</td>
			<td>
				<input type="hidden" name="sid"  value="${sid}" />
				<form:input path="situation" /><form:errors path="situation" cssClass="errorMsg" ></form:errors>
			</td>										
		</tr>
		<tr>
			<td>
				学期：
			</td>
			<td>
				<form:input path="semester" /><form:errors path="semester" cssClass="errorMsg"></form:errors>
			</td>											
		</tr>
		
		<tr>
			<td>
				学年：
			</td>
			<td>
				<form:select path="year">
					<form:option value="2012">2012</form:option>
					<form:option value="2012">2011</form:option>
					<form:option value="2012">2010</form:option>
					<form:option value="2012">2009</form:option>
				</form:select>
			</td>
			
		</tr>
		
		<tr>
			<td>
				奖励原因：
			</td>
			<td>  
				<form:input path="cause" /><form:errors path="cause" ></form:errors>
			</td>												
		</tr>
		<tr>
			<td>
				<input type="submit" value="添加" /> 
			</td>
			<td>
				<input type="reset" value="取消" />
			</td>
		</tr>		
	</form:form>
	
	</tbody>

</table>

</body>
</html>